package cn.com.db.service;

import cn.com.db.model.Admin;
import org.springframework.stereotype.Service;

@Service
public class AdminService extends BaseService {

    public Admin getAdminById(String id){
        return adminDao.getAdminById(id);
    }

    public Admin getAdminByAuthingId(String authingId){
        return adminDao.getAdminByAuthingId(authingId);
    }

}
